<form action="{{ request.get_full_path }}" method="post">
  <table>{{ form }}</table>
  <input type="submit" value="&nbsp;&nbsp;Login&nbsp;&nbsp;" />
  <input type="submit" id="Login" value="&nbsp;&nbsp;Cancel&nbsp;&nbsp;" onclick="tb_remove()">
  <input type="hidden" name="next" value="/" />
</form>
